package com.tisson.dictweb.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CompBiddingStatExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CompBiddingStatExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCompQccIdIsNull() {
            addCriterion("COMP_QCC_ID is null");
            return (Criteria) this;
        }

        public Criteria andCompQccIdIsNotNull() {
            addCriterion("COMP_QCC_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCompQccIdEqualTo(String value) {
            addCriterion("COMP_QCC_ID =", value, "compQccId");
            return (Criteria) this;
        }

        public Criteria andCompQccIdNotEqualTo(String value) {
            addCriterion("COMP_QCC_ID <>", value, "compQccId");
            return (Criteria) this;
        }

        public Criteria andCompQccIdGreaterThan(String value) {
            addCriterion("COMP_QCC_ID >", value, "compQccId");
            return (Criteria) this;
        }

        public Criteria andCompQccIdGreaterThanOrEqualTo(String value) {
            addCriterion("COMP_QCC_ID >=", value, "compQccId");
            return (Criteria) this;
        }

        public Criteria andCompQccIdLessThan(String value) {
            addCriterion("COMP_QCC_ID <", value, "compQccId");
            return (Criteria) this;
        }

        public Criteria andCompQccIdLessThanOrEqualTo(String value) {
            addCriterion("COMP_QCC_ID <=", value, "compQccId");
            return (Criteria) this;
        }

        public Criteria andCompQccIdLike(String value) {
            addCriterion("COMP_QCC_ID like", value, "compQccId");
            return (Criteria) this;
        }

        public Criteria andCompQccIdNotLike(String value) {
            addCriterion("COMP_QCC_ID not like", value, "compQccId");
            return (Criteria) this;
        }

        public Criteria andCompQccIdIn(List<String> values) {
            addCriterion("COMP_QCC_ID in", values, "compQccId");
            return (Criteria) this;
        }

        public Criteria andCompQccIdNotIn(List<String> values) {
            addCriterion("COMP_QCC_ID not in", values, "compQccId");
            return (Criteria) this;
        }

        public Criteria andCompQccIdBetween(String value1, String value2) {
            addCriterion("COMP_QCC_ID between", value1, value2, "compQccId");
            return (Criteria) this;
        }

        public Criteria andCompQccIdNotBetween(String value1, String value2) {
            addCriterion("COMP_QCC_ID not between", value1, value2, "compQccId");
            return (Criteria) this;
        }

        public Criteria andCompNameIsNull() {
            addCriterion("COMP_NAME is null");
            return (Criteria) this;
        }

        public Criteria andCompNameIsNotNull() {
            addCriterion("COMP_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andCompNameEqualTo(String value) {
            addCriterion("COMP_NAME =", value, "compName");
            return (Criteria) this;
        }

        public Criteria andCompNameNotEqualTo(String value) {
            addCriterion("COMP_NAME <>", value, "compName");
            return (Criteria) this;
        }

        public Criteria andCompNameGreaterThan(String value) {
            addCriterion("COMP_NAME >", value, "compName");
            return (Criteria) this;
        }

        public Criteria andCompNameGreaterThanOrEqualTo(String value) {
            addCriterion("COMP_NAME >=", value, "compName");
            return (Criteria) this;
        }

        public Criteria andCompNameLessThan(String value) {
            addCriterion("COMP_NAME <", value, "compName");
            return (Criteria) this;
        }

        public Criteria andCompNameLessThanOrEqualTo(String value) {
            addCriterion("COMP_NAME <=", value, "compName");
            return (Criteria) this;
        }

        public Criteria andCompNameLike(String value) {
            addCriterion("COMP_NAME like", value, "compName");
            return (Criteria) this;
        }

        public Criteria andCompNameNotLike(String value) {
            addCriterion("COMP_NAME not like", value, "compName");
            return (Criteria) this;
        }

        public Criteria andCompNameIn(List<String> values) {
            addCriterion("COMP_NAME in", values, "compName");
            return (Criteria) this;
        }

        public Criteria andCompNameNotIn(List<String> values) {
            addCriterion("COMP_NAME not in", values, "compName");
            return (Criteria) this;
        }

        public Criteria andCompNameBetween(String value1, String value2) {
            addCriterion("COMP_NAME between", value1, value2, "compName");
            return (Criteria) this;
        }

        public Criteria andCompNameNotBetween(String value1, String value2) {
            addCriterion("COMP_NAME not between", value1, value2, "compName");
            return (Criteria) this;
        }

        public Criteria andStatYearMonthIsNull() {
            addCriterion("STAT_YEAR_MONTH is null");
            return (Criteria) this;
        }

        public Criteria andStatYearMonthIsNotNull() {
            addCriterion("STAT_YEAR_MONTH is not null");
            return (Criteria) this;
        }

        public Criteria andStatYearMonthEqualTo(String value) {
            addCriterion("STAT_YEAR_MONTH =", value, "statYearMonth");
            return (Criteria) this;
        }

        public Criteria andStatYearMonthNotEqualTo(String value) {
            addCriterion("STAT_YEAR_MONTH <>", value, "statYearMonth");
            return (Criteria) this;
        }

        public Criteria andStatYearMonthGreaterThan(String value) {
            addCriterion("STAT_YEAR_MONTH >", value, "statYearMonth");
            return (Criteria) this;
        }

        public Criteria andStatYearMonthGreaterThanOrEqualTo(String value) {
            addCriterion("STAT_YEAR_MONTH >=", value, "statYearMonth");
            return (Criteria) this;
        }

        public Criteria andStatYearMonthLessThan(String value) {
            addCriterion("STAT_YEAR_MONTH <", value, "statYearMonth");
            return (Criteria) this;
        }

        public Criteria andStatYearMonthLessThanOrEqualTo(String value) {
            addCriterion("STAT_YEAR_MONTH <=", value, "statYearMonth");
            return (Criteria) this;
        }

        public Criteria andStatYearMonthLike(String value) {
            addCriterion("STAT_YEAR_MONTH like", value, "statYearMonth");
            return (Criteria) this;
        }

        public Criteria andStatYearMonthNotLike(String value) {
            addCriterion("STAT_YEAR_MONTH not like", value, "statYearMonth");
            return (Criteria) this;
        }

        public Criteria andStatYearMonthIn(List<String> values) {
            addCriterion("STAT_YEAR_MONTH in", values, "statYearMonth");
            return (Criteria) this;
        }

        public Criteria andStatYearMonthNotIn(List<String> values) {
            addCriterion("STAT_YEAR_MONTH not in", values, "statYearMonth");
            return (Criteria) this;
        }

        public Criteria andStatYearMonthBetween(String value1, String value2) {
            addCriterion("STAT_YEAR_MONTH between", value1, value2, "statYearMonth");
            return (Criteria) this;
        }

        public Criteria andStatYearMonthNotBetween(String value1, String value2) {
            addCriterion("STAT_YEAR_MONTH not between", value1, value2, "statYearMonth");
            return (Criteria) this;
        }

        public Criteria andBiddingTypeIsNull() {
            addCriterion("BIDDING_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andBiddingTypeIsNotNull() {
            addCriterion("BIDDING_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andBiddingTypeEqualTo(String value) {
            addCriterion("BIDDING_TYPE =", value, "biddingType");
            return (Criteria) this;
        }

        public Criteria andBiddingTypeNotEqualTo(String value) {
            addCriterion("BIDDING_TYPE <>", value, "biddingType");
            return (Criteria) this;
        }

        public Criteria andBiddingTypeGreaterThan(String value) {
            addCriterion("BIDDING_TYPE >", value, "biddingType");
            return (Criteria) this;
        }

        public Criteria andBiddingTypeGreaterThanOrEqualTo(String value) {
            addCriterion("BIDDING_TYPE >=", value, "biddingType");
            return (Criteria) this;
        }

        public Criteria andBiddingTypeLessThan(String value) {
            addCriterion("BIDDING_TYPE <", value, "biddingType");
            return (Criteria) this;
        }

        public Criteria andBiddingTypeLessThanOrEqualTo(String value) {
            addCriterion("BIDDING_TYPE <=", value, "biddingType");
            return (Criteria) this;
        }

        public Criteria andBiddingTypeLike(String value) {
            addCriterion("BIDDING_TYPE like", value, "biddingType");
            return (Criteria) this;
        }

        public Criteria andBiddingTypeNotLike(String value) {
            addCriterion("BIDDING_TYPE not like", value, "biddingType");
            return (Criteria) this;
        }

        public Criteria andBiddingTypeIn(List<String> values) {
            addCriterion("BIDDING_TYPE in", values, "biddingType");
            return (Criteria) this;
        }

        public Criteria andBiddingTypeNotIn(List<String> values) {
            addCriterion("BIDDING_TYPE not in", values, "biddingType");
            return (Criteria) this;
        }

        public Criteria andBiddingTypeBetween(String value1, String value2) {
            addCriterion("BIDDING_TYPE between", value1, value2, "biddingType");
            return (Criteria) this;
        }

        public Criteria andBiddingTypeNotBetween(String value1, String value2) {
            addCriterion("BIDDING_TYPE not between", value1, value2, "biddingType");
            return (Criteria) this;
        }

        public Criteria andBiddingAmtIsNull() {
            addCriterion("BIDDING_AMT is null");
            return (Criteria) this;
        }

        public Criteria andBiddingAmtIsNotNull() {
            addCriterion("BIDDING_AMT is not null");
            return (Criteria) this;
        }

        public Criteria andBiddingAmtEqualTo(Integer value) {
            addCriterion("BIDDING_AMT =", value, "biddingAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingAmtNotEqualTo(Integer value) {
            addCriterion("BIDDING_AMT <>", value, "biddingAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingAmtGreaterThan(Integer value) {
            addCriterion("BIDDING_AMT >", value, "biddingAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingAmtGreaterThanOrEqualTo(Integer value) {
            addCriterion("BIDDING_AMT >=", value, "biddingAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingAmtLessThan(Integer value) {
            addCriterion("BIDDING_AMT <", value, "biddingAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingAmtLessThanOrEqualTo(Integer value) {
            addCriterion("BIDDING_AMT <=", value, "biddingAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingAmtIn(List<Integer> values) {
            addCriterion("BIDDING_AMT in", values, "biddingAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingAmtNotIn(List<Integer> values) {
            addCriterion("BIDDING_AMT not in", values, "biddingAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingAmtBetween(Integer value1, Integer value2) {
            addCriterion("BIDDING_AMT between", value1, value2, "biddingAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingAmtNotBetween(Integer value1, Integer value2) {
            addCriterion("BIDDING_AMT not between", value1, value2, "biddingAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingSumIsNull() {
            addCriterion("BIDDING_SUM is null");
            return (Criteria) this;
        }

        public Criteria andBiddingSumIsNotNull() {
            addCriterion("BIDDING_SUM is not null");
            return (Criteria) this;
        }

        public Criteria andBiddingSumEqualTo(BigDecimal value) {
            addCriterion("BIDDING_SUM =", value, "biddingSum");
            return (Criteria) this;
        }

        public Criteria andBiddingSumNotEqualTo(BigDecimal value) {
            addCriterion("BIDDING_SUM <>", value, "biddingSum");
            return (Criteria) this;
        }

        public Criteria andBiddingSumGreaterThan(BigDecimal value) {
            addCriterion("BIDDING_SUM >", value, "biddingSum");
            return (Criteria) this;
        }

        public Criteria andBiddingSumGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("BIDDING_SUM >=", value, "biddingSum");
            return (Criteria) this;
        }

        public Criteria andBiddingSumLessThan(BigDecimal value) {
            addCriterion("BIDDING_SUM <", value, "biddingSum");
            return (Criteria) this;
        }

        public Criteria andBiddingSumLessThanOrEqualTo(BigDecimal value) {
            addCriterion("BIDDING_SUM <=", value, "biddingSum");
            return (Criteria) this;
        }

        public Criteria andBiddingSumIn(List<BigDecimal> values) {
            addCriterion("BIDDING_SUM in", values, "biddingSum");
            return (Criteria) this;
        }

        public Criteria andBiddingSumNotIn(List<BigDecimal> values) {
            addCriterion("BIDDING_SUM not in", values, "biddingSum");
            return (Criteria) this;
        }

        public Criteria andBiddingSumBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("BIDDING_SUM between", value1, value2, "biddingSum");
            return (Criteria) this;
        }

        public Criteria andBiddingSumNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("BIDDING_SUM not between", value1, value2, "biddingSum");
            return (Criteria) this;
        }

        public Criteria andBiddingWinAmtIsNull() {
            addCriterion("BIDDING_WIN_AMT is null");
            return (Criteria) this;
        }

        public Criteria andBiddingWinAmtIsNotNull() {
            addCriterion("BIDDING_WIN_AMT is not null");
            return (Criteria) this;
        }

        public Criteria andBiddingWinAmtEqualTo(Integer value) {
            addCriterion("BIDDING_WIN_AMT =", value, "biddingWinAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingWinAmtNotEqualTo(Integer value) {
            addCriterion("BIDDING_WIN_AMT <>", value, "biddingWinAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingWinAmtGreaterThan(Integer value) {
            addCriterion("BIDDING_WIN_AMT >", value, "biddingWinAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingWinAmtGreaterThanOrEqualTo(Integer value) {
            addCriterion("BIDDING_WIN_AMT >=", value, "biddingWinAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingWinAmtLessThan(Integer value) {
            addCriterion("BIDDING_WIN_AMT <", value, "biddingWinAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingWinAmtLessThanOrEqualTo(Integer value) {
            addCriterion("BIDDING_WIN_AMT <=", value, "biddingWinAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingWinAmtIn(List<Integer> values) {
            addCriterion("BIDDING_WIN_AMT in", values, "biddingWinAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingWinAmtNotIn(List<Integer> values) {
            addCriterion("BIDDING_WIN_AMT not in", values, "biddingWinAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingWinAmtBetween(Integer value1, Integer value2) {
            addCriterion("BIDDING_WIN_AMT between", value1, value2, "biddingWinAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingWinAmtNotBetween(Integer value1, Integer value2) {
            addCriterion("BIDDING_WIN_AMT not between", value1, value2, "biddingWinAmt");
            return (Criteria) this;
        }

        public Criteria andBiddingWinSumIsNull() {
            addCriterion("BIDDING_WIN_SUM is null");
            return (Criteria) this;
        }

        public Criteria andBiddingWinSumIsNotNull() {
            addCriterion("BIDDING_WIN_SUM is not null");
            return (Criteria) this;
        }

        public Criteria andBiddingWinSumEqualTo(BigDecimal value) {
            addCriterion("BIDDING_WIN_SUM =", value, "biddingWinSum");
            return (Criteria) this;
        }

        public Criteria andBiddingWinSumNotEqualTo(BigDecimal value) {
            addCriterion("BIDDING_WIN_SUM <>", value, "biddingWinSum");
            return (Criteria) this;
        }

        public Criteria andBiddingWinSumGreaterThan(BigDecimal value) {
            addCriterion("BIDDING_WIN_SUM >", value, "biddingWinSum");
            return (Criteria) this;
        }

        public Criteria andBiddingWinSumGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("BIDDING_WIN_SUM >=", value, "biddingWinSum");
            return (Criteria) this;
        }

        public Criteria andBiddingWinSumLessThan(BigDecimal value) {
            addCriterion("BIDDING_WIN_SUM <", value, "biddingWinSum");
            return (Criteria) this;
        }

        public Criteria andBiddingWinSumLessThanOrEqualTo(BigDecimal value) {
            addCriterion("BIDDING_WIN_SUM <=", value, "biddingWinSum");
            return (Criteria) this;
        }

        public Criteria andBiddingWinSumIn(List<BigDecimal> values) {
            addCriterion("BIDDING_WIN_SUM in", values, "biddingWinSum");
            return (Criteria) this;
        }

        public Criteria andBiddingWinSumNotIn(List<BigDecimal> values) {
            addCriterion("BIDDING_WIN_SUM not in", values, "biddingWinSum");
            return (Criteria) this;
        }

        public Criteria andBiddingWinSumBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("BIDDING_WIN_SUM between", value1, value2, "biddingWinSum");
            return (Criteria) this;
        }

        public Criteria andBiddingWinSumNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("BIDDING_WIN_SUM not between", value1, value2, "biddingWinSum");
            return (Criteria) this;
        }

        public Criteria andKeywordIsNull() {
            addCriterion("KEYWORD is null");
            return (Criteria) this;
        }

        public Criteria andKeywordIsNotNull() {
            addCriterion("KEYWORD is not null");
            return (Criteria) this;
        }

        public Criteria andKeywordEqualTo(Long value) {
            addCriterion("KEYWORD =", value, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordNotEqualTo(Long value) {
            addCriterion("KEYWORD <>", value, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordGreaterThan(Long value) {
            addCriterion("KEYWORD >", value, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordGreaterThanOrEqualTo(Long value) {
            addCriterion("KEYWORD >=", value, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordLessThan(Long value) {
            addCriterion("KEYWORD <", value, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordLessThanOrEqualTo(Long value) {
            addCriterion("KEYWORD <=", value, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordIn(List<Long> values) {
            addCriterion("KEYWORD in", values, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordNotIn(List<Long> values) {
            addCriterion("KEYWORD not in", values, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordBetween(Long value1, Long value2) {
            addCriterion("KEYWORD between", value1, value2, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordNotBetween(Long value1, Long value2) {
            addCriterion("KEYWORD not between", value1, value2, "keyword");
            return (Criteria) this;
        }

        public Criteria andStatDateIsNull() {
            addCriterion("STAT_DATE is null");
            return (Criteria) this;
        }

        public Criteria andStatDateIsNotNull() {
            addCriterion("STAT_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andStatDateEqualTo(Date value) {
            addCriterion("STAT_DATE =", value, "statDate");
            return (Criteria) this;
        }

        public Criteria andStatDateNotEqualTo(Date value) {
            addCriterion("STAT_DATE <>", value, "statDate");
            return (Criteria) this;
        }

        public Criteria andStatDateGreaterThan(Date value) {
            addCriterion("STAT_DATE >", value, "statDate");
            return (Criteria) this;
        }

        public Criteria andStatDateGreaterThanOrEqualTo(Date value) {
            addCriterion("STAT_DATE >=", value, "statDate");
            return (Criteria) this;
        }

        public Criteria andStatDateLessThan(Date value) {
            addCriterion("STAT_DATE <", value, "statDate");
            return (Criteria) this;
        }

        public Criteria andStatDateLessThanOrEqualTo(Date value) {
            addCriterion("STAT_DATE <=", value, "statDate");
            return (Criteria) this;
        }

        public Criteria andStatDateIn(List<Date> values) {
            addCriterion("STAT_DATE in", values, "statDate");
            return (Criteria) this;
        }

        public Criteria andStatDateNotIn(List<Date> values) {
            addCriterion("STAT_DATE not in", values, "statDate");
            return (Criteria) this;
        }

        public Criteria andStatDateBetween(Date value1, Date value2) {
            addCriterion("STAT_DATE between", value1, value2, "statDate");
            return (Criteria) this;
        }

        public Criteria andStatDateNotBetween(Date value1, Date value2) {
            addCriterion("STAT_DATE not between", value1, value2, "statDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}